<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>Document</title>
	<link type="text/css" rel="stylesheet" href="__PUBLIC__/Admin/css/style.css" />
	<script type="text/javascript" src="__PUBLIC__/Admin/js/jquery-1.8.3.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Admin/js/menu.js"></script>
	<style type="text/css">
		* {
			margin: 0;
			padding: 0;
		}
		table{
			width: 100%;
			margin-left: auto;
			margin-right: auto;
		}

		table th{
			background-color: #11B6B6;
			color: white;
			font-family: "微软雅黑";
			text-align: left;
		}
		table tr td:first-child{
			width: 20%;
		}
	</style>
</head>
<body>
	<div class="right-nav">
		<ul>
			<li><img src="__PUBLIC__/Admin/images/home.png"></li>
				<li style="margin-left:25px;">您当前的位置：</li>
				<li><a href="__MODULE__/User/index">用户管理</a></li>
				<li>></li>
				<li><a href="#">用户信息</a></li>
		</ul>
	</div>
	<form action="__SELF__" method="post">
		<table id="tab">
			<tr><th colspan="2"><h3>用户信息</h3></th></tr>
				<tr><td><span>账号</span></td><td><input type="text"  name="user_name" value="{$user.user_name}"></td></tr>
				<tr><td><span>密码</span></td><td><input type="text"  name="pwd" placeholder="直接输入新密码"></td></tr>
				<tr><td><span>性别</span></td><td>
					<span>男</span><input type="radio" name="user_sex" value="男" 
						<if condition="($user.user_sex eq '男')">checked</if>
					>
					<span>女</span><input type="radio" name="user_sex" value="女" 
						<if condition="($user.user_sex eq '女')">checked</if>
					>
					<span>保密</span><input type="radio" name="user_sex" value="保密" 
						<if condition="($user.user_sex eq '保密')">checked</if>
					></td></tr>
				<tr><td><span>信用等级</span></td><td><input type="text" name="user_credit" value="{$user.user_credit}"><span style="color: red;">{$errorinfo.user_credit}</span></td></tr>
				<tr><td><span>联系人</span></td><td><input type="text" name="user_linkman" value="{$user.user_linkman}"></td></tr>
				<tr><td><span>联系地址</span></td><td><input type="text" name="user_addr" value="{$user.user_addr}" style="width: 100%;"></td></tr>
				<tr><td><span>QQ</span></td><td><input type="text" name="user_qq" value="{$user['user_qq']?$user['user_qq']:''}"><span style="color: red;">{$errorinfo.user_qq}</span></td></tr>
				<tr><td><span>电话</span></td><td><input type="text" name="user_tel" value="{$user.user_tel}"><span style="color: red;">{$errorinfo.user_tel}</span></td></tr>
				<tr><td><span>真实姓名</span></td><td><input type="text" name="real_name" value="{$user.real_name}"></td></tr>
				<tr><td><span>身份证</span></td><td><input type="text" name="id_number" value="{$user.id_number}"><span style="color: red;">{$errorinfo.id_number}</span></td></tr>
				<tr><td><span>注册时间</span></td><td><input type="text" name="create_time" value="{$user.create_time}" disabled></td></tr>
				<tr><td><span>最后登录时间</span></td><td><input type="text" name="last_time" value="{$user.last_time}" disabled></td></tr>
				<tr><td><span>冻结</span></td><td>
					<span>是</span><input type="radio" name="is_forbidden" value="1"
						<if condition="($user.is_forbidden eq 1)">checked</if>
					>
					<span>否</span><input type="radio" name="is_forbidden" value="0"
						<if condition="($user.is_forbidden eq 0)">checked</if>
					></td></tr>
				<tr><td><span>VIP</span></td><td>
					<span>是</span><input type="radio" name="is_vip" value="1"
						<if condition="($user.is_vip eq 1)">checked</if>
					>
					<span>否</span><input type="radio" name="is_vip" value="0"
						<if condition="($user.is_vip eq 0)">checked</if>
					></td></tr>
				<tr><td><span>商家</span></td><td>
					<span>是</span><input type="radio" name="is_seller" value="1"
						<if condition="($user.is_seller eq 1)">checked</if>
					>
					<span>否</span><input type="radio" name="is_seller" value="0"
						<if condition="($user.is_seller eq 0)">checked</if>
					>
				<input type="hidden" name="user_id" value="{$user.user_id}"></td></tr>
				<tr><td colspan="2" style="padding-left: 100px;"><input type="submit" value="修改">　　　　　　　　　
				<input type="button" value="返回" onclick="javascript:history.go(-1);">　　　　　　　　　　　　</td></tr>
		</table>
	</form>
</body>
</html>